/**
 * User:langchen
 * Date:2022-08-03
 * Time:16:41
 */
class WashMechine{
    public String brand;
    public String type;
    public String weight;
    public String higth;
    public String length;
    public void Wash(){
        System.out.println("洗衣功能");
    }
    public void Dehydrase(){
        System.out.println("脱水功能");
    }
}
class PetDog{
    public String name;
    public String age;
    public void barks(){
        System.out.println("汪汪汪~");
    }
    public void wags(){
        System.out.println("摇尾巴");
    }
}
class Student{
    public String name;
    public int age;
    public int score;
    public String sex;
    public void DoHomework(){
        System.out.println("做作业");
    }
    public void DoClass(){
        System.out.println("做课堂作业");
    }
    public void Test(){
        System.out.println("考试");
    }
}
public class Kind {

    public static void main(String[] args) {
        Student stu = new Student();
        stu.age = 20;
        stu.name = "张三";
        stu.score = 100;
        stu.sex  = "男";
        stu.DoHomework();
        stu.DoClass();
        stu.Test();
        System.out.println(stu.age);
        System.out.println(stu.name);
        System.out.println(stu.score);
        System.out.println(stu.sex);


    }
}
